﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UcDocController.ascx.cs" Inherits="SpreadSheetFramework.UcDocController" %>
<%@ Register assembly="DevExpress.Web.v14.2, Version=14.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web" tagprefix="dx" %>

<div style="width: 100%">
    <dx:ASPxRibbon ID="ASPxRibbon1" runat="server" AllowMinimize="False" ShowFileTab="False">
        <Tabs>
            <dx:RibbonTab Name="Tools" Text="Công cụ">
                <Groups>
                    <dx:RibbonGroup Name="Edit" Text="Chỉnh sửa">
                        <Items>
                            <dx:RibbonButtonItem Name="undo" Size="Large" ToolTip="Undo">
                                <LargeImage IconID="history_undo_32x32">
                                </LargeImage>
                                <SmallImage IconID="history_undo_16x16">
                                </SmallImage>
                            </dx:RibbonButtonItem>
                            <dx:RibbonButtonItem Name="redo" Size="Large" ToolTip="Redo">
                                <LargeImage IconID="history_redo_32x32">
                                </LargeImage>
                                <SmallImage IconID="history_redo_16x16">
                                </SmallImage>
                            </dx:RibbonButtonItem>
                            <dx:RibbonButtonItem Name="insertRow" Size="Large" ToolTip="Thêm dòng">
                                <LargeImage IconID="reports_emptytablerowseparator_32x32">
                                </LargeImage>
                            </dx:RibbonButtonItem>
                            <dx:RibbonButtonItem Name="deleteRow" Size="Large" ToolTip="Xóa dòng">
                                <LargeImage IconID="reports_none_32x32">
                                </LargeImage>
                            </dx:RibbonButtonItem>
                            <dx:RibbonButtonItem Name="copy" Size="Large" ToolTip="Copy">
                                <LargeImage IconID="edit_copy_32x32">
                                </LargeImage>
                            </dx:RibbonButtonItem>
                            <dx:RibbonButtonItem Name="paste" Size="Large" ToolTip="Paste">
                                <LargeImage IconID="edit_paste_32x32">
                                </LargeImage>
                            </dx:RibbonButtonItem>
                        </Items>
                    </dx:RibbonGroup>
                    <dx:RibbonGroup Name="Tải dữ liệu" Text="Tải dữ liệu">
                        <Items>
                            <dx:RibbonButtonItem Size="Large" ToolTip="Tải dữ liệu">
                                <LargeImage IconID="save_saveto_32x32">
                                </LargeImage>
                            </dx:RibbonButtonItem>
                        </Items>
                    </dx:RibbonGroup>
                </Groups>
            </dx:RibbonTab>
            <dx:RibbonTab Name="Calculate" Text="Tính toán">
                <Groups>
                    <dx:RibbonGroup Name="Tính toán" Text="Tính toán">
                        <Items>
                            <dx:RibbonButtonItem Size="Large"  ToolTip="Tính toán" BeginGroup="True">
                                <LargeImage IconID="arrows_next_32x32">
                                </LargeImage>
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                            </dx:RibbonButtonItem>
                        </Items>
                    </dx:RibbonGroup>
                    <dx:RibbonGroup Name="Result" Text="Kết quả tính toán" >
                        <Items >
                            <dx:RibbonTemplateItem Size="Large" >
                                <Template>
                                    <div>
                                        <dx:ASPxMemo runat="server" Width="900px" Height="60px"></dx:ASPxMemo>
                                    </div>
                                </Template>
                            </dx:RibbonTemplateItem>
                        </Items>
                    </dx:RibbonGroup>
                </Groups>
            </dx:RibbonTab>
        </Tabs>
        <ClientSideEvents CommandExecuted="function(s, e) {
	alert(s);
}" />
    </dx:ASPxRibbon>
</div>